﻿namespace Test30.Engine
{
    public class MessageMove : Move
    {
        public override string Description => "It can ^g ^- on you.";

        public override bool WillUseMove(Monster monster, Entity target)
        {
            // only if next to target
            return monster.Position.IsAdjacentTo(target.Position);
        }

        public override Action GetAction(Monster monster, Entity target)
        {
            //### bob: make formatting more flexible. Text param in MoveInfo?
            return new MessageAction(monster, "{subject} " + Info.Verb + " {object}.", target);
        }

        public override float GetExperience(Race race)
        {
            // actually results in negative experience, since this move reduces the odds of other moves happening
            return 0;
        }
    }

}
